package com.yidu.hbatsams.service;

import com.yidu.hbatsams.domain.AtsEmpExpert;
import com.yidu.hbatsams.domain.AtsSchemeAudit;
import com.yidu.hbatsams.domain.AtsSchemeExpert;

import java.util.List;

public interface AtsSchemeAuditServicefx {
    List<AtsSchemeAudit> list(Integer pageSize, Integer pageNum);
    int count(String schemeType);
    /**
     * 查询下拉:专家
     * @param expertName
     * @return
     */
    List<AtsEmpExpert> selectAll(String expertName);
    /**
     *
     * @mbg.generated 2019-10-29
     */
    int deleteByPrimaryKey(Integer auId);

    /**
     *
     * @mbg.generated 2019-10-29
     */
    int insert(AtsSchemeAudit record);

    /**
     *
     * @mbg.generated 2019-10-29
     */
    int insertSelective(AtsSchemeAudit record);

    /**
     *
     * @mbg.generated 2019-10-29
     */
    List<AtsSchemeAudit> selectByPrimaryKey(Integer pageSize,Integer pageNum,String schemeType);

    /**
     *
     * @mbg.generated 2019-10-29
     */
    int updateByPrimaryKeySelective(AtsSchemeAudit record, AtsSchemeExpert expert,String saId);

    /**
     * 根据id查询数据
     * @param saId
     * @return
     */
    AtsSchemeAudit findById(String saId);

    /**
     *
     * @mbg.generated 2019-10-29
     */
    int updateByPrimaryKey(AtsSchemeAudit records);

}
